<?php
// Automatically calculates the editor base path based on the _samples directory.
// This is usefull only for these samples. A real application should use something like this:
// $oFCKeditor->BasePath = '/fckeditor/' ;        // '/fckeditor/' is the default value.
include('./system/fckeditor/fckeditor.php');
$oFCKeditor = new FCKeditor('news_main');
$oFCKeditor->BasePath = './system/fckeditor/';
$oFCKeditor->ToolbarSet = 'MyToolbar';

$oFCKeditor->Value = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ;

?>